package net.office.mapper;

import java.util.List;
import net.office.bean.StaffMail;
import net.office.bean.StaffMailExample;
import org.apache.ibatis.annotations.Param;

public interface StaffMailMapper {
    long countByExample(StaffMailExample example);

    int deleteByExample(StaffMailExample example);

    int deleteByPrimaryKey(Integer staffMailId);

    int insert(StaffMail record);

    int insertSelective(StaffMail record);

    List<StaffMail> selectByExample(StaffMailExample example);

    StaffMail selectByPrimaryKey(Integer staffMailId);

    int updateByExampleSelective(@Param("record") StaffMail record, @Param("example") StaffMailExample example);

    int updateByExample(@Param("record") StaffMail record, @Param("example") StaffMailExample example);

    int updateByPrimaryKeySelective(StaffMail record);

    int updateByPrimaryKey(StaffMail record);
}